let obj = {};
let handler = {
    set(target,prop,value,receiver) {
        console.log('设置属性' + prop);
        target[prop] = value;
        return true;
    }
}
let objProxy = new Proxy(obj,handler);
objProxy.name = 'daxia';
console.log(obj);